<h1>Просмотр профиля</h1>
<table width="100%" border="0" cellspacing="1" cellpadding="4"
	align="center">
	<tr>
		<td class="field-title"><label>Группа</label></td>
		<td class="field-place"><?=$this->user->groupName;?></td>
	</tr>
	<tr>
		<td class="field-title"><label>Логин</label></td>
		<td class="field-place"><?=$this->user->GetUserName();?></td>
	</tr>
	<tr>
		<td class="field-title"><label>Имя</label></td>
		<td class="field-place"><?=$this->user->fullName;?></td>
	</tr>
	<tr>
		<td class="field-title"><label>Email</label></td>
		<td class="field-place"><?=$this->user->email;?></td>
	</tr>
	<tr>
		<td class="field-title"><label>Аватар</label></td>
		<td class="field-place">
		<?php 
			if ($this->user->GetAvatar())
			{
		?>
		<img src="<?=_ROOT_URL.$this->thumbPath.$this->user->GetAvatar();?>">
		<?php 
			}
		?>	
		</td>
	</tr>	
</table>
<div class="bt_area"><input type="button" class="bt" value="Изменить"
	onclick="window.location.href='<?=MozgRoute::Get('http')->Create(array('module' => 'admin', 'ctrl' => 'users', 'action' => 'edit_profile'));?>';" />
</div>